home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Disk Magic v1.0.adf / C / arc.doc < prev    next >
Text File  |  1988-11-26  |  59KB  |  1,914 lines

  1. These docs are from the IBM version of ARC.  Some of the manual has been
  2. revised to accomodate the Amiga.  The Amiga version was not done by 
  3. System Enhancement Associates so please dont write or call them about
  4. AmigaARC, they wont know a thing about it!  Happy reading.......
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.                                        ARC
  15.  
  16.                               File Archive Utility
  17.                                    Version 5.1
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.      (C) COPYRIGHT 1985, 1986 by System Enhancement Associates;
  36.          ALL RIGHTS RESERVED
  37.  
  38.  
  39.  
  40.  
  41.  
  42.      This document describes the ARC file utility, version 5.1, which was
  43.      created by System Enhancement Associates in January of 1986.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                                 Table of Contents                                Table of Contents
  56.  
  57.  
  58.  
  59.      Introduction  ....................................................   1
  60.      Using ARC  .......................................................   3
  61.      ARC commands  ....................................................   4
  62.          Adding files  ................................................   4
  63.          Extracting files  ............................................   6
  64.          Deleting files  ..............................................   6
  65.          Listing archive entries  .....................................   7
  66.          Printing files  ..............................................   9
  67.          Running files  ...............................................   9
  68.          Testing an archive  ..........................................  10
  69.          Converting an archive  .......................................  10
  70.      ARC options  .....................................................  11
  71.          Suppressing compression  .....................................  11
  72.          Backup retention  ............................................  12
  73.          Message suppression  .........................................  13
  74.          Encryption/decryption  .......................................  14
  75.      RAMdisk support  .................................................  15
  76. *    MARC  ............................................................  16
  77. *    XARC  ............................................................  17
  78.      Version numbers  .................................................  18
  79.      Program update service  ..........................................  19
  80.      Common questions and answers  ....................................  20
  81.      Revision history  ................................................  22
  82.          Changes in version 3  ........................................  22
  83.          Changes in version 4  ........................................  22
  84.          Changes in version 4.1  ......................................  23
  85.          Changes in version 4.3  ......................................  23
  86.          Changes in version 4.4  ......................................  24
  87.          Changes in version 4.5  ......................................  24
  88.          Changes in version 5.0  ......................................  25
  89.          Changes in version 5.1  ......................................  26
  90.      Program history and credits  .....................................  27
  91.      Site license  ....................................................  28
  92. *    Order form  ......................................................  30
  93.  
  94.  
  95. * Not for the Amiga.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.                                   INTRODUCTION                                  INTRODUCTION
  116.  
  117.  
  118.  
  119.      ARC is the copyrighted property of System Enhancement Associates.  You
  120.      are granted a limited license to use ARC, and to copy it and
  121.      distribute it, provided that the following conditions are met:
  122.  
  123.      1) No fee may be charged for such copying and distribution.
  124.  
  125.      2) ARC may ONLY be distributed in its original, unmodified state.
  126.  
  127.  
  128.      Any voluntary contributions for the use of this program will be
  129.      appreciated, and should be sent to:
  130.  
  131.                           System Enhancement Associates
  132.                                   21 New Street
  133.                                 Wayne, NJ   07470
  134.  
  135.      You may not use this product in a commercial environment or a
  136.      governmental organization without paying a license fee of $35.  Site
  137.      licenses and commercial distribution licenses are available.  A
  138.      program disk and printed documentation are available for $50.  See the
  139.      order form in the back of this manual for more details.
  140.  
  141.  
  142.  
  143.      A word about user supported software:
  144.  
  145.                                                                  freeware     The user supported software concept (usually referred to as freeware)
  146.      is an attempt to provide software at low cost.  The cost of offering a
  147.      new product by conventional means is staggering, and hence dissuades
  148.      many independent authors and small companies from developing and
  149.      promoting their ideas.  User supported software is an attempt to
  150.      develop a new marketing channel, where products can be introduced at
  151.      low cost.
  152.  
  153.      If user supported software works, then everyone will benefit.  The
  154.      user will benefit by receiving quality products at low cost, and by
  155.      being able to "test drive" software thoroughly before purchasing it.
  156.      The author benefits by being able to enter the commercial software
  157.      arena without first needing large sources of venture capital.
  158.  
  159.      But it can only work with your support.  We're not just talking about
  160.      ARC here, but about all user supported software.  If you find that you
  161.      are still using a program after a couple of weeks, then pretty
  162.      obviously it is worth something to you, and you should send in a
  163.      contribution.
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.      ARC                                                           Page   1
  174.      And now, back to ARC:
  175.  
  176.      ARC is used to create and maintain file archives.  An archive is a
  177.      group of files collected together into one file in such a way that the
  178.      individual files may be recovered intact.
  179.  
  180.      ARC is different from other archive and library utilities in that it
  181.      automatically compresses the files being archived, so that the
  182.      resulting archive takes up a minimum amount of space.
  183.  
  184.      When ARC is used to add a file to an archive it analyzes the file to
  185.      determine which of four storage methods will result in the greatest
  186.      savings.  These four methods are:
  187.  
  188.      1) No compression; the file is stored as is.
  189.  
  190.      2) Repeated-character compression; repeated sequences of the same byte
  191.         value are collapsed into a three-byte code sequence.
  192.  
  193.      3) Huffman squeezing; the file is compressed into variable length bit
  194.         strings, similar to the method used by the SQ programs.
  195.  
  196.      4) Dynamic Lempel-Zev compression;  the file is stored as a series of
  197.         variable size bit codes which represent character strings, and
  198.         which are created "on the fly".
  199.  
  200.      Note that since one of the four methods involves no compression at
  201.      all, the resulting archive entry will never be larger than the
  202.      original file.
  203.  
  204.  
  205.      An interesting note:  It has been brought to our attention that BASIC
  206.                                                        not     programs compress to a smaller size when they are not tokenized.  If
  207.      you are more concerned with space than speed, you may wish to convert
  208.      your BASIC programs to ASCII form before adding them to an archive.
  209.      Your BASIC manual should give instructions on how to do this.
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.      ARC                                                           Page   2
  234.  
  235.                                     USING ARC                                    USING ARC
  236.  
  237.  
  238.  
  239.      ARC is invoked with a command of the following format:
  240.  
  241.          ARC <x> <arcname> [<template> . . .]
  242.  
  243.      Where:
  244.  
  245.          <x> is an ARC command letter (see below), in either upper or lower
  246.          case.
  247.  
  248.          <arcname> is the name of the archive to act on, with or without an
  249.          extension.  If no extension is supplied, then ".ARC" is assumed.
  250.          The archive name may include path and drive specifiers.
  251.  
  252.          <template> is one or more file name templates.  The "wildcard"
  253.          characters "*" and "?" may be used.  A file name template may
  254.          include a path or drive specifier, though it isn't always
  255.          meaningful.
  256.  
  257.      If ARC is invoked with no arguments (by typing "ARC", and pressing
  258.      "enter"), then a brief command summary is displayed.
  259.  
  260.  
  261.  
  262.      Following is a brief summary of the available ARC commands:
  263.  
  264.          a   = add files to archive
  265.          m   = move files to archive
  266.          u   = update files in archive
  267.          f   = freshen files in archive
  268.          d   = delete files from archive
  269.          x,e = extract files from archive
  270.          r   = run files from archive
  271.          p   = copy files from archive to standard output
  272.          l   = list files in archive
  273.          v   = verbose listing of files in archive
  274.          t   = test archive integrity
  275.          c   = convert entry to new packing method
  276.  
  277.  
  278.  
  279.      Following is a brief summary of the available ARC options, which may
  280.      alter how a command works:
  281.  
  282.          b   = retain backup copy of archive
  283.          s   = suppress compression (store only)
  284.          w   = suppress warning messages
  285.          n   = suppress notes and comments
  286.          g   = encode or decode archive entry
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.      ARC                                                           Page   3
  294.  
  295.                                   ARC COMMANDS                                  ARC COMMANDS
  296.  
  297.  
  298.  
  299.      This section describes each of the commands.  ARC will accept any one
  300.      command at a time.  If no commands are given, then a brief command
  301.      list is displayed.
  302.  
  303.  
  304.  
  305.      ____________     ADDING FILES
  306.  
  307.      Files are added to an archive using the "A" (Add), "M" (Move), "U"
  308.      (Update), or "F" (Freshen) commands.  Add always adds the file.  Move
  309.      differs from Add in that the source file is deleted once it has been
  310.      added to the archive.
  311.  
  312.      Update differs from Add in that the file is only added if it is not
  313.      already in the archive, or if it is newer that the corresponding entry
  314.      in the archive.
  315.  
  316.      Freshen is similar to Update, except that new files are not added to
  317.      the archive; only files already in the archive are updated.
  318.  
  319.  
  320.      For example, if you wish to add a file named "TEST.DAT" to an archive
  321.      named "MY.ARC", you would use a command of the form:
  322.  
  323.          ARC a my test.dat
  324.  
  325.      If you wanted to add all files with a ".C" extension, and all files
  326.      named "STUFF" to an archive named "JUNK.ARC", you could type:
  327.  
  328.          ARC a junk *.c stuff.*
  329.  
  330.      If you wanted to move all files in your current directory into an
  331.      archive named "SUM.ARC", you could use a command of the form:
  332.  
  333.          ARC m sum *.*
  334.  
  335.      If you have an archive named "TEXT.ARC", and you wanted to add to it
  336.      all of your files with an extension of ".TXT" which have been created
  337.      or changed since they were last archived, then you would type:
  338.  
  339.          ARC u text *.txt
  340.  
  341.      If you have a bunch of files in your current directory, with backup
  342.      copies being stored in an archive named "SAFE.ARC", then if you wanted
  343.      to make sure that every file in the archive is the latest version of
  344.      that file, you would type:
  345.  
  346.          ARC f safe
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.      ARC                                                           Page   4
  354.      A word about Update and Freshen:  These are similar in that they look
  355.      at the date and time of last change on the file, and only add it if
  356.      the file has been changed since it was last archived.  They differ in
  357.      that Update will add new files, while Freshen will not.
  358.  
  359.      In other words, Update looks for the files on disk, and adds them if
  360.      they are new or have changed, while Freshen looks in the archive, and
  361.      tries to update the files which are already there.
  362.  
  363.  
  364.      Archive entries are always maintained in alphabetic order.  Archive
  365.      entries may not have duplicate names.  If you add a file to an archive
  366.      that already contains a file by that name, then the existing entry in
  367.      the archive is replaced.  Also, the archive itself and its backup will
  368.      not be added.
  369.  
  370.      You may also add a file which is in a directory other than your
  371.      current directory.  For example, it is perfectly legal to type:
  372.  
  373.          ARC a junk DF1:dustbin/stuff.txt
  374.  
  375.      You cannot add two files with the same name.  In other words, if you
  376.      have a file named "DF1:DUSTBIN/STUFF.TXT" and another file named
  377.      "DF1:BUCKET/STUFF.TXT", then typing:
  378.  
  379.          arc a junk DF1:dustbin/*.* DF1:bucket/*.*
  380.  
  381.      will not work.
  382.  
  383.  
  384.      ARC does not save the path name.  In other words, if you specify a
  385.      drive and/or path when adding a file, only the actual file name is
  386.      stored in the archive.
  387.  
  388.  
  389.      ARC will never add an archive to itself, nor will it add the temporary
  390.      copy or a backup copy of the archive.
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.      ARC                                                           Page   5
  414.      ________________     EXTRACTING FILES
  415.  
  416.      Archive entries are extracted with the "E" (Extract) and "X" (eXtract)
  417.      commands.  For example, if you had an archive named "JUNK.ARC", and
  418.      you wanted all files in it with an extension of ".TXT" or ".DOC" to be
  419.      recreated on your disk, you could type:
  420.  
  421.          ARC x junk *.txt *.doc
  422.  
  423.      If you wanted to extract all of the files in an archive named
  424.      "JUNK.ARC", you could simply type:
  425.  
  426.          ARC x junk
  427.  
  428.      Whatever method of file compression was used in storing the files is
  429.      reversed, and uncompressed copies are created in the current
  430.      directory.
  431.  
  432.      You can also specify a path name, in which case the decompressed copy
  433.      is placed in the specified directory.  For example, if you had an
  434.      archive named "JUNK.ARC", and you wanted all files in it with an
  435.      extension of ".TXT" to be placed in the directory "DF1:WASTE/LAND",
  436.      then you could type:
  437.  
  438.          ARC x junk DF1:waste/land/*.txt
  439.  
  440.      If you wanted to put the file "TRASH.TXT" on your A: drive, and the
  441.      file "LITTER.TXT" on your DF1: drive, you could type:
  442.  
  443.          ARC x junk DF0:trash.txt DF1:litter.txt
  444.  
  445.      If you give more than one path for a file, then only the first one is
  446.      used.  For example, if you typed:
  447.  
  448.          ARC x junk DF0:trash.txt DF1:trash.txt
  449.  
  450.      then TRASH.TXT will be placed on your DF0: drive.
  451.  
  452.  
  453.  
  454.      ______________     DELETING FILES
  455.  
  456.      Archive entries are deleted with the "D" (Delete) command.  For
  457.      example, if you had an archive named "JUNK.ARC", and you wished to
  458.      delete all entries in it with a filename extension of ".C", you could
  459.      type:
  460.  
  461.          ARC d junk *.c
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.      ARC                                                           Page   6
  474.      _______________________     LISTING ARCHIVE ENTRIES
  475.  
  476.      You can obtain a list of the contents of an archive by using the "L"
  477.      (List) command or the "V" (Verbose list) command.  For example, to see
  478.      what is in an archive named "JUNK.ARC", you could type:
  479.  
  480.          ARC l junk
  481.  
  482.      If you are only interested in files with an extension of ".DOC", then
  483.      you could type:
  484.  
  485.          ARC l junk *.doc
  486.  
  487.  
  488.      ARC prints a short listing of an archive's contents like this:
  489.  
  490.          Name          Length    Date
  491.          ============  ========  =========
  492.          ALPHA.TXT         6784  16 May 85
  493.          BRAVO.TXT         2432  16 May 85
  494.          COCO.TXT           256  16 May 85
  495.                  ====  ========
  496.          Total      3      9472
  497.  
  498.  
  499.      "Name" is simply the name of the file.
  500.  
  501.      "Length" is the unpacked file length.  In other words, it is the
  502.      number of bytes of disk space which the file would take up if it were
  503.      extracted.
  504.  
  505.      "Date" is the date on which the file had last been modified, as of the
  506.      time when it was added to the archive.
  507.  
  508.      "Total" is pretty obvious, I think.
  509.  
  510.  
  511.      ARC prints a verbose listing of an archive's contents like this:
  512.  
  513.      Name          Length    Stowage    SF   Size now  Date       Time    CRC
  514.      ============  ========  ========  ====  ========  =========  ======  ====
  515.      ALPHA.TXT         6784  Squeezed   35%      4413  16 May 85  11:53a  8708
  516.      BRAVO.TXT         2432  Squeezed   41%      1438  16 May 85  11:53a  5BD6
  517.      COCO.TXT           256   Packed     5%       244  16 May 85  11:53a  3AFB
  518.              ====  ========            ====  ========
  519.      Total      3      9472             27%      6095
  520.  
  521.  
  522.      "Name", "Length", and "Date" are the same as for a short listing.
  523.  
  524.      "Stowage" is the compression method used.  The following compression
  525.      methods are currently employed:
  526.  
  527.             --          No compression.
  528.           Packed        Runs of repeated byte values are collapsed.
  529.          Squeezed       Huffman squeeze technique employed.
  530.          Crunched       Lempel-Zev compression technique employed.
  531.  
  532.  
  533.      ARC                                                           Page   7
  534.  
  535.      "SF" is the stowage factor.  In other words, it is the percentage of
  536.      the file length which was saved by compression.  The total stowage
  537.      factor is the stowage factor for the archive as a whole, not counting
  538.      archive overhead.
  539.  
  540.      "Size now" is the number of bytes the file is occupying while in the
  541.      archive.
  542.  
  543.      "Time" is the time of last modification, and is associated with the
  544.      date of last modification.
  545.  
  546.      "CRC" is the CRC check value which has been stored with the file.
  547.      Another CRC value will be calculated when the file is extracted or
  548.      tested to ensure data integrity.  There is no especially good reason
  549.      for displaying this value.
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.      ARC                                                           Page   8
  594.      ______________     PRINTING FILES
  595.  
  596.      Archive entries may be examined with the "P" (Print) command.  This
  597.      works the same as the Extract command, except that the files are not
  598.      created on disk.  Instead, the contents of the files are written to
  599.      standard output.  For example, if you wanted to see the contents of
  600.      every ".TXT" file in an archive named "JUNK.ARC", but didn't want them
  601.      saved on disk, you could type:
  602.  
  603.          ARC p junk *.txt
  604.  
  605.      If you wanted them to be printed on your printer instead of on your
  606.      screen, you could type:
  607.  
  608.          ARC p junk *.txt >prn
  609.  
  610.  
  611.  
  612.      _____________     RUNNING FILES
  613.  
  614.      Archive entries may be run without being extracted by use of the "R"
  615.      (Run) command.  For example, if you had an archive named "JUNK.ARC"
  616.      which contained a file named "LEMON.COM", which you wished to run, you
  617.      could type:
  618.  
  619.          ARC r junk lemon
  620.  
  621.      You can run any file from an archive which has an extension of ".COM",
  622.      ".EXE", ".BAT", or ".BAS".  You do not have to specify the extension,
  623.      but all matching files are run if you do not.  In other words, if you
  624.      had an archive named "JUNK.ARC" which contained the files "LEMON.COM",
  625.      "LEMON.EXE", and "LEMON.BAS", and you typed:
  626.  
  627.          ARC r junk lemon
  628.  
  629.      Then all three programs will be run.  You can avoid this by specifying
  630.      an extension in this case.
  631.  
  632.      You cannot give arguments to a program you are running from an
  633.      archive.  Also, you will need a fair amount of memory to run a program
  634.      from an archive.  It probably cannot be done with less than 256k.
  635.  
  636.      In practice, the file to be run is extracted, run, and then deleted.
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.      ARC                                                           Page   9
  654.      __________________     TESTING AN ARCHIVE
  655.  
  656.      The integrity of an archive may be tested by use of the "T" (Test)
  657.      command.  This checks to make sure that all of the file headers are
  658.      properly placed, and that all of the files are in good shape.
  659.  
  660.      This can be very useful for critical archives, where data integrity
  661.      must be assured.  When an archive is tested, all of the entries in the
  662.      archive are unpacked (without saving them anywhere) so that a CRC
  663.      check value may be calculated and compared with the recorded CRC
  664.      value.
  665.  
  666.      For example, if you just received an archive named "JUNK.ARC" over a
  667.      phone line, and you want to make sure that you received it properly,
  668.      you could type:
  669.  
  670.          ARC t junk
  671.  
  672.      It defeats the purpose of the T command to combine it with N or W.
  673.  
  674.  
  675.      _____________________     CONVERTING AN ARCHIVE
  676.  
  677.      The "C" (Convert) command is used to convert an archive entry to take
  678.      advantage of newer compression techniques.  This is occasionally
  679.      desirable when a new version of ARC is released.  Please refer to the
  680.      revision history section for details on when new compression methods
  681.      were implemented.
  682.  
  683.      For example, if you had an archive named "JUNK.ARC", and you wanted to
  684.      make sure that all files with an extension of ".DOC" were encoded
  685.      using the very latest methods, you could type:
  686.  
  687.          ARC c junk *.doc
  688.  
  689.      Or if you wanted to convert every file in the archive, you could type:
  690.  
  691.          ARC c junk
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.      ARC                                                           Page  10
  714.  
  715.                                    ARC OPTIONS                                   ARC OPTIONS
  716.  
  717.  
  718.  
  719.      This section describes the options which are available to modify how
  720.      ARC works.  Any of these options can be combined with any of the
  721.      commands, though the result may not always be something you'd want to
  722.      do.
  723.  
  724.  
  725.  
  726.      _______________________     SUPPRESSING COMPRESSION
  727.  
  728.      The "S" (Suppress compression) option can be combined with any command
  729.      that updates archive entries.  These include Add, Move, Update,
  730.      Freshen, and Convert.  The effect of the S option is to prevent any
  731.      compression techniques from being employed.  This is intended to allow
  732.      you to add a few files at a time to an archive quickly, and then later
  733.      convert the archive to compress everything at once.
  734.  
  735.      For example, over the course of a day you might give each of the
  736.      following commands:
  737.  
  738.          ARC as junk *.txt
  739.          ARC as junk *.mac
  740.          ARC as junk *.doc
  741.  
  742.      At the end of the day, when you have finished adding things to the
  743.      archive, you could have all of the archive entries compressed at once
  744.      by typing:
  745.  
  746.          ARC c junk
  747.  
  748.      You could also decompress the archive by typing:
  749.  
  750.          ARC cs junk
  751.  
  752.      though I can't imagine why you'd want to.
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.      ARC                                                           Page  11
  774.      ________________     BACKUP RETENTION
  775.  
  776.      When ARC changes an archive (during an Add, Move, Update, Freshen,
  777.      Delete, or Convert) it creates a new archive with the same name, but
  778.      with an extension of ".$$$".  For example, if you add a file to an
  779.      archive named STUFF.ARC, then ARC will create a new archive named
  780.      STUFF.$$$.  ARC will read from your existing archive and write out the
  781.      new archive with any changes to the ".$$$" copy.
  782.  
  783.      Normally when ARC is finished it deletes the original and renames the
  784.      new archive to the original name (ie. STUFF.ARC goes away, and
  785.      STUFF.$$$ becomes the new STUFF.ARC).  Among other things, this means
  786.      that if anything goes wrong and ARC is unable to finish, then your
  787.      original archive will still be intact.
  788.  
  789.  
  790.      In some circumstances you may wish to retain the original version of
  791.      the archive as a backup copy.  You can do this easily by using the
  792.      Backup option.  Add the letter "B" to your command, and ARC will
  793.      rename your original archive to have an extension of ".BAK" instead of
  794.      deleting it.
  795.  
  796.  
  797.      In other words, if you wanted to add "WASTE.TXT" to an archive named
  798.      "JUNK.ARC", but wanted to keep a backup copy, then you would type:
  799.  
  800.          ARC ab junk waste.txt
  801.  
  802.      Your original archive would become "JUNK.BAK", while "JUNK.ARC" would
  803.      contain the new "WASTE.TXT" file.
  804.  
  805.  
  806.      If you keep a backup of an archive which already has a backup, then
  807.      the older backup copy is deleted.
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.      ARC                                                           Page  12
  834.      ___________________     MESSAGE SUPPRESSION
  835.  
  836.      ARC prints three types of messages: warnings, comments, and errors.
  837.  
  838.      Warnings are messages about suspected error conditions, such as when a
  839.      file to be extracted already exists, or when an extracted file fails
  840.      the CRC error check.  Warnings may be suppressed by use of the "W"
  841.      (Warn) command.  You should use this command sparingly.  In fact, you
  842.      should probably not use this command at all.
  843.  
  844.      Comments (or notes) are informative messages, such as naming each file
  845.      as it is added to the archive.  Comments and notes may be suppressed
  846.      by use of the "N" (Note) command.
  847.  
  848.      Errors are actual system problems, such as running out of disk space.
  849.      You cannot suppress errors.
  850.  
  851.  
  852.      For example, suppose you extracted all files with an extension of
  853.      ".BAS" from an archive named "JUNK.ARC"  Then, after making some
  854.      changes which you decide not to keep, you decide that you want to
  855.      extract them all again, but you don't want to be asked to confirm
  856.      every one.  In this case, you could type:
  857.  
  858.          ARC xw junk *.bas
  859.  
  860.      Or, if you are going to add a hundred files with an extension of
  861.      ".MSG" to an archive named "TRASH.ARC", and you don't want ARC to list
  862.      them as it adds them, you could type:
  863.  
  864.          ARC an trash *.msg
  865.  
  866.      Or, if you want to extract the entire contents of an archive named
  867.      "JUNK.ARC", and you don't want to hear anything, then type:
  868.  
  869.          ARC xnw junk
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.      ARC                                                           Page  13
  894.      _____________________     ENCRYPTION/DECRYPTION
  895.  
  896.      Archive entries may be encrypted and decrypted by using the "G"
  897.      (Garble) option.  The Garble option takes the remainder of the command
  898.                                                       last     string as the password to use, so it must be the last option.
  899.  
  900.  
  901.      For example, if you wanted to add a file named "WASTE.TXT" to an
  902.      archive named "JUNK.ARC", and you wanted to encrypt it using the
  903.      password "DEBRIS", then you would type:
  904.  
  905.          ARC agdebris junk waste.txt
  906.  
  907.      Later on, when you want to extract it again, you would type:
  908.  
  909.          ARC xgdebris junk waste.txt
  910.  
  911.  
  912.      The password you supply is used to encrypt (or decrypt) the archive
  913.      entry by performing an exclusive OR between each byte of the packed
  914.      data and each byte of the password.  The password can be any length,
  915.      and each of its bytes is used in rotation.  The password is converted
  916.                                               not     to uppercase before it is used, so it is not case sensitive.  Since
  917.      the encryption is performed on the packed data, it has no effect on
  918.      stowage factors.
  919.  
  920.      This is not a particularly sophisticated means of encryption, and it
  921.      is theoretically possible to crack.  Still, since it is performed on
  922.      the packed data, the result should be quite sufficient for casual use.
  923.  
  924.  
  925.      You can, if you wish, use different passwords for different files in
  926.      an archive, but we advise against it.  If you are going to encrypt an
  927.      archive, we suggest you use the same password for every file, and give
  928.      the password whenever you do anything at all with the archive.  It is
  929.      possible to list the entries in an encrypted archive using the "L" and
  930.      "V" commands without giving the password, but nothing else will work
  931.      properly.
  932.  
  933.  
  934.      We advise that you use this option sparingly, if at all.  If you
  935.      should forget or mistype your password, it is highly unlikely that you
  936.      will ever recover your data.
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.      ARC                                                           Page  14
  954.  
  955.                                  RAMDISK SUPPORT                                 RAMDISK SUPPORT
  956.  
  957.  
  958.  
  959.      If you have a RAMdisk, or other high-speed storage, then you can speed
  960.      up ARC somewhat by telling it to put its temporary files on the
  961.      RAMdisk.  You do this by setting the ARCTEMP environment string with
  962.      the AmigaDOS ASSIGN command.  For example, if drive DF1: is your RAMdisk,
  963.      then you would type:
  964.  
  965.          assign ARCTEMP: ram:
  966.  
  967.      Refer to the AmigaDOS manual for more details about the assign command.
  968.      You need only assign the ARCTEMP string once, and ARC will use it from
  969.      then on until you change its value or reboot your system.
  970.  
  971.  
  972.      If ARC does not find an environment string named ARCTEMP, then it
  973.      looks for one named TEMP to use instead.  Several packages already use
  974.      the TEMP string for exactly this purpose.  If you have need of an
  975.      environment string named TEMP for something else, then you should be
  976.      sure to define ARCTEMP.
  977.  
  978.  
  979.      There are a limited number of temporary files created by ARC.  The one
  980.      most often used is "$ARCTEMP.CRN", which is created (if possible) when
  981.      adding a file to an archive.  The Convert command uses a file named
  982.      "$ARCTEMP.CVT" to hold each file as it is being converted.  The Run
  983.      command also creates a temporary file, which has the name "$ARCTEMP",
  984.      and whose extension matches that of the file being run.
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.      ARC                                                           Page  15
  1014.  
  1015.                                       MARC                                      MARC
  1016.  
  1017.  
  1018.  
  1019.      MARC is a separate program which is used to merge archives created by
  1020.      ARC.  MARC moves files from one archive to another without unpacking
  1021.      them.
  1022.  
  1023.  
  1024.      MARC is used as follows:
  1025.  
  1026.          MARC <target> <source> [<template> . . .]
  1027.  
  1028.      Where:
  1029.  
  1030.          <target> is the name of the archive to add files to.
  1031.  
  1032.          <source> is the name of the archive to read files from.
  1033.  
  1034.          <template> is one or more file name templates.  The wildcard
  1035.          characters "*" and "?" may be used.  If no template is supplied,
  1036.          then all of the files in <source> are added to <target>.
  1037.  
  1038.      It is not necessary for the target to exist.  If it does not exist,
  1039.      then it is created.  Thus, MARC can be used as an "extractor" as well
  1040.      as a "merger".
  1041.  
  1042.  
  1043.      For example, if you wanted to create an archive named "JUNK.ARC",
  1044.      which is to contain all of the files with an extension of ".TXT" which
  1045.      are currently contained in another archive named "WASTE.ARC", then you
  1046.      could type:
  1047.  
  1048.          MARC junk waste *.txt
  1049.  
  1050.      If you wanted to create an archive named "JUNK.ARC", which is to
  1051.      contain all of the files currently in the archives "WASTE.ARC" and
  1052.      "TRASH.ARC", you could type:
  1053.  
  1054.          MARC junk waste
  1055.          MARC junk trash
  1056.  
  1057.      Though it would probably be faster to type:
  1058.  
  1059.          COPY waste.arc junk.arc
  1060.          MARC junk trash
  1061.  
  1062.  
  1063.      If MARC is invoked with no arguments, then it gives brief directions
  1064.      in its use.
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.      ARC                                                           Page  16
  1074.  
  1075.                                       XARC                                      XARC
  1076.  
  1077.  
  1078.  
  1079.      XARC is a separate program which is used to extract all files from one
  1080.      or more archives.  It doesn't do anything that ARC doesn't do, and it
  1081.      isn't any faster, but it may be preferred in certain cases, as it is
  1082.      much smaller than ARC.
  1083.  
  1084.  
  1085.      XARC is used as follows:
  1086.  
  1087.          XARC <arcname> . . .
  1088.  
  1089.      Where <arcname> is the name of one or more archives.  The wildcard
  1090.      characters "*" and "?" may be used.  All files are extracted from the
  1091.      named archives.
  1092.  
  1093.  
  1094.      For example, if you wanted to extract everything from two archives
  1095.      named "WASTE.ARC" and "JUNK.ARC", you could type:
  1096.  
  1097.          XARC waste junk
  1098.  
  1099.      If you wanted to extract every file from every archive in a
  1100.      subdirectory named "TRASH", you could type:
  1101.  
  1102.          XARC trash/*.arc
  1103.  
  1104.  
  1105.      If XARC is invoked with no arguments, then it gives brief directions
  1106.      in its use.
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.      ARC                                                           Page  17
  1134.  
  1135.                                  VERSION NUMBERS                                 VERSION NUMBERS
  1136.  
  1137.  
  1138.  
  1139.      There seems to be some confusion about our version numbering scheme.
  1140.      All of our version numbers are given as a number with two decimal
  1141.      places.
  1142.  
  1143.      The units indicate a major revision, such as adding a new packing
  1144.      algorithm.
  1145.  
  1146.      The first decimal place (tenths) indicates a minor revision that is
  1147.      not essential, but which may be desired.
  1148.  
  1149.      The second decimal place (hundredths) indicates a trivial revision
  1150.      that will probably only be desired by specific individuals or by die-
  1151.      hard "latest version" fanatics.
  1152.  
  1153.      ARC also displays its date and time of last edit.  A change of the
  1154.      date and time without a corresponding change in version number
  1155.      indicates a truly trivial change, such as fixing a spelling error.
  1156.  
  1157.  
  1158.      To sum up: If the units change, then you should get the newer version
  1159.      as soon as you can.  If the tenths change, then you may want to get
  1160.      the newer version, but there's no hurry.  If anything else changes,
  1161.      then you probably shouldn't bother.  This is reflected by our own
  1162.      habit of referring to "version 4.5" instead of "version 4.52".
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.      ARC                                                           Page  18
  1194.  
  1195.                              PROGRAM UPDATE SERVICE                             PROGRAM UPDATE SERVICE
  1196.  
  1197.  
  1198.  
  1199.      A license to ARC entitles you to use all future versions of ARC.  New
  1200.      versions are generally available through normal freeware distribution
  1201.      channels, and we prefer that you obtain them that way.  However, many
  1202.      users of ARC have written to ask us about an update service.
  1203.  
  1204.      A program disk containing the latest version is returned on every
  1205.      order of $50 or more.  If you wish to purchase a single-user license
  1206.      and want an update disk, please enclose a check or money order for $50
  1207.      instead of $35.
  1208.  
  1209.      For a fee of $50 per year you can subscribe to our program update
  1210.      service.  Subscribers get up to five program updates per year mailed
  1211.      to them as new versions come out.  This does not include trivial
  1212.      releases.
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.      ARC                                                           Page  19
  1254.  
  1255.                           COMMON QUESTIONS AND ANSWERS                          COMMON QUESTIONS AND ANSWERS
  1256.  
  1257.  
  1258.  
  1259.      Here are some of the more common questions we've received about ARC,
  1260.      along with their answers:
  1261.  
  1262.  
  1263.      Q: Why do you bother with squeezing when crunching is so much faster?
  1264.  
  1265.      A: Because crunching isn't really as fast as it looks.  Crunching is a
  1266.         one pass operation, while squeezing requires two passes.  ARC
  1267.         actually does the crunching during the analysis pass, and puts the
  1268.         crunched output in a file named "$ARCTEMP.CRN".  If crunching turns
  1269.         out to be the best method, then this temporary file is copied into
  1270.         the new archive.  In other words, when ARC says "crunching" it
  1271.         isn't really crunching, it's just copying a file.
  1272.  
  1273.                                                               much        Also, there are a lot of files out there that squeeze much better
  1274.         than they crunch.
  1275.  
  1276.  
  1277.      Q: Why does ARC run out of room if I make an archive bigger than about
  1278.         180k?
  1279.  
  1280.      A: Because you are working on a floppy disk.  ARC creates a copy of
  1281.         your archive, incorporating any new files as it goes.  When it is
  1282.         done, it deletes the original and renames the new one.  There are a
  1283.         number of reasons for doing it this way, one being that your
  1284.         original archive is still intact if anything happens while ARC is
  1285.         running.  ARC also needs room for the temporary file used in
  1286.         crunching.
  1287.  
  1288.         You can save some space by using the ARCTEMP environment string to
  1289.         put the temporary file on another disk, as well as using drive
  1290.         specifiers and having the archive and the files to add on separate
  1291.         disks, but you still won't be able to make an archive larger than
  1292.         about 180k.  If you need to make a larger archive, and if you have
  1293.         a fixed disk, then you can create the archive on the fixed disk and
  1294.         then copy it to the floppy.
  1295.  
  1296.  
  1297.      Q: I've seen an ARC.COM and an ARC.EXE.  Which one is the right one?
  1298.  
  1299.      A: ARC.EXE.  One or more people have been running ARC through a
  1300.         utility that converts an ".EXE" file to a ".COM" file.  But this
  1301.                                     space        utility is designed to save space, not speed.  On ARC it saves
  1302.         about 250 bytes, and makes no measurable difference in program
  1303.         speed.  We've decided that the savings are not worth the extra step
  1304.         in development in this case.
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.      ARC                                                           Page  20
  1314.      Q: Can I use ARC to distribute my public domain or freeware program?
  1315.  
  1316.      A: Yes, of course.
  1317.  
  1318.  
  1319.      Q: Can I use ARC to distribute my commercial software package?
  1320.  
  1321.      A: Yes.  Please contact us for a commercial distribution license.
  1322.  
  1323.  
  1324.      Q: I'm a commercial user.  Why should I pay for freeware that others
  1325.         get for free?
  1326.  
  1327.                                                               all     A: Because you cannot credibly plead poverty.  Freeware, all freeware,
  1328.         is an attempt to develop a new marketing channel to the benefit of
  1329.         everyone.  You can still "test drive" freeware for a short period,
  1330.         but if you decide to use it in your business, then you should pay
  1331.         for it.
  1332.  
  1333.  
  1334.      Q: Why not allow me to select which method of compression I want ARC
  1335.         to use?
  1336.  
  1337.      A: It would needlessly complicate ARC, both internally and in use.
  1338.         The exact nature of the compression methods used are complex, and
  1339.         quite different.  The only sure way to tell which will be best in
  1340.         any given case is to analyze the data, as ARC does.  The method
  1341.         chosen may not always be what you expect.
  1342.  
  1343.  
  1344.      Q: How can I get the latest version of ARC?
  1345.  
  1346.      A: ARC updates are distributed through normal freeware channels, and
  1347.         by FidoNet.  We also ship a program update disk on every order of
  1348.         $50 or more.  In addition, we also offer an update subscription
  1349.         service.  See the previous section for more details.
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.      ARC                                                           Page  21
  1374.  
  1375.                                 REVISION HISTORY                                REVISION HISTORY
  1376.  
  1377.  
  1378.  
  1379.      ____________________     CHANGES IN VERSION 3
  1380.  
  1381.      The function used to calculate the CRC check value in previous
  1382.      versions has been found to be in error.  It has been replaced with the
  1383.      proper function.  ARC will still read archives created with earlier
  1384.      versions of ARC, but it will report a warning that the CRC value is in
  1385.      error.  All archives created prior to version 3.0 should be unpacked
  1386.      and repacked with the latest version of ARC.
  1387.  
  1388.  
  1389.      Transmitting a file with XMODEM protocol rounds the size up to the
  1390.      next multiple of 128 bytes, adding garbage to the end of the file.
  1391.      This used to confuse ARC, causing it to think that the end of the
  1392.      archive was invalidly formatted.  This has been corrected in
  1393.      version 3.01.  Older archives may still be read, but ARC may report
  1394.      them to be improperly formatted.  All files can be extracted, and no
  1395.      data is lost.  In addition, ARC will automatically correct the problem
  1396.      when it is encountered.
  1397.  
  1398.  
  1399.  
  1400.      ____________________     CHANGES IN VERSION 4
  1401.  
  1402.      ARC is adding another data compression technique in this version.  We
  1403.      have been looking for some technique that could improve on Huffman
  1404.      squeezing in at least a few cases.  So far, Lempel-Zev compression
  1405.      seems to be fulfilling our fondest hopes, often achieving compression
  1406.      rates as much as 20% better than squeezing, and sometimes even better.
  1407.      Huffman squeezing depends on some bytes being more "popular" than
  1408.      others, taking the file as a whole.  Lempel-Zev compression is instead
  1409.      looking for strings of bytes which are repeated at various points
  1410.      (such as an end of line followed by spaces for indentation).  Lempel-
  1411.      Zev compression is therefore looking for repetition at a more "macro"
  1412.      level, often achieving impressive packing rates.
  1413.  
  1414.      In the typical case a file is added to an archive once and then
  1415.      extracted many times, so the increased time for an update should more
  1416.      than pay for itself in increased disk space and reduced file
  1417.      transmission time.
  1418.  
  1419.      As usual, ARC version 4.0 is completely upward compatible.  That is,
  1420.      it can deal properly with any archive created by any earlier version
  1421.      of ARC.  It is NOT reverse compatible.  Archives created by ARC 4.0
  1422.      will generally not be usable by earlier versions of ARC.
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.      ARC                                                           Page  22
  1434.      ______________________     CHANGES IN VERSION 4.1
  1435.  
  1436.      Lempel-Zev coding has been improved somewhat by performing non-repeat
  1437.      compression on the data before it is coded (as was already done with
  1438.      Huffman squeezing).  This has the two fold advantage of (a) reducing
  1439.      to some extent the amount of data to be encoded, and (b) increasing
  1440.      the time it takes for the string table to fill up.  Performance gains
  1441.      are small, but noticeable.
  1442.  
  1443.      The primary changes are in internal organization.  ARC is now much
  1444.      "cleaner" inside.  In addition to the aesthetic benefits to the
  1445.      author, this should make life easier for the hackers out there.  There
  1446.      is also a slight, but not noticeable, improvement in overall speed
  1447.      when doing an update.
  1448.  
  1449.      Version 4.1 is still fully upward compatible.  But regretfully, it is
  1450.      again not downward compatible.  Version 4.1 can handle any existing
  1451.      archive, but creates archives which older versions (including 4.0)
  1452.      cannot unpack.
  1453.  
  1454.  
  1455.  
  1456.      ______________________     CHANGES IN VERSION 4.3
  1457.  
  1458.      Version 4.3 adds the much-demanded feature of using pathnames when
  1459.      adding files to an archive.  For obscure technical reasons, files
  1460.      being extracted still go in the current directory on the current
  1461.      drive.  Pathnames are also not supported for any of the other
  1462.      commands, because it would make no sense.
  1463.  
  1464.      Version 4.3 is also using a slightly different approach when adding a
  1465.      file to an archive.  The end result is twofold:
  1466.  
  1467.      1) Slightly more disk space is required on the drive containing the
  1468.         archive.  This should only be noticeable to those creating very
  1469.         large archives on a floppy based system.
  1470.  
  1471.      2) A 30% reduction in packing time has been achieved in most cases.
  1472.         This should be noticeable to everyone.
  1473.  
  1474.      As always, version 4.3 is still fully upwards compatible, and is
  1475.      backwards compatible as far as version 4.1.
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.      ARC                                                           Page  23
  1494.      ______________________     CHANGES IN VERSION 4.4
  1495.  
  1496.      The temporary file introduced in version 4.3 occasionally caused
  1497.      problems for people who had not added a FILES= statement to their
  1498.      CONFIG.SYS file.  This has now been corrected.  Also, support of the
  1499.      ARCTEMP environment string was added to allow placing of the temporary
  1500.      file on a RAMdisk.
  1501.  
  1502.      A bug was reported in the Run command, which has been fixed.  From the
  1503.      nature of the bug, and the extreme time required before the bug was
  1504.      reported, it is deduced that the Run command is probably the least
  1505.      used feature of ARC.
  1506.  
  1507.      The Update command was changed.  It is no longer a straight synonym
  1508.      for Add.  Instead, Update now only adds a file if it is newer than the
  1509.      version already in the archive, as shown by the AmigaDOS date/time
  1510.      stamp.
  1511.  
  1512.  
  1513.  
  1514.      ______________________     CHANGES IN VERSION 4.5
  1515.  
  1516.      The Convert command was not making use of RAMdisk support.  Now it is.
  1517.  
  1518.      The Freshen command was added.  Our first choice for a name was
  1519.      Refresh, but we already had a Run command.  Assuming that you have an
  1520.      archive which already contains everything you want in it (for software
  1521.      distribution, perhaps), then Freshen would be used to update the
  1522.      archive.  It was pointed out to us that ARC already knows what is in
  1523.      the archive, so it should be able to look on disk for newer versions.
  1524.      Now it can.
  1525.  
  1526.      The Suppress compression option was added by popular demand.  It
  1527.      allows files to be added quickly to an archive, since the files are
  1528.      not analyzed or compressed, but merely stored straight.  The intent is
  1529.      to allow users to build an archive "in pieces", and then compress all
  1530.      of the entries at once with the Convert command.  The conversion is
  1531.      much faster if you take advantage of RAMdisk support.
  1532.  
  1533.      A minor bug was detected in our handling of date/time stamps which
  1534.      occasionally resulted in stamping an archive with the wrong date and
  1535.      time.  This has been corrected.
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.      ARC                                                           Page  24
  1554.      ______________________     CHANGES IN VERSION 5.0
  1555.  
  1556.      Several users of ARC have written us to suggest that we should put an
  1557.      order form in the documentation.  It seems that several types of
  1558.      organizations require something like that or they cannot pay no matter
  1559.      how much they'd like to.  While doing that, we also went over the
  1560.      documentation from top to bottom and "slicked it up".  It's now a bit
  1561.      more of an actual manual.  We think you'll appreciate the table of
  1562.      contents as well; we sure do!
  1563.  
  1564.      The Move command used to delete the files as it went.  It now waits
  1565.      until it is finished updating the archive, and deletes them all at
  1566.                  did     once.  (You did know that Move is just an Add where the file gets
  1567.      deleted, didn't you?)  This, along with the changes made in version
  1568.      4.5, means that it is now much safer to interrupt ARC while it is
  1569.      working.
  1570.  
  1571.      The Print command no longer prints the name of each file.  Instead, it
  1572.      prints a formfeed after each file.
  1573.  
  1574.      The Run command now supports BASICA programs.  Also, the filename
  1575.      extension is no longer required on the Run command.
  1576.  
  1577.      The Garble option was added.  It provides a convenient means of low
  1578.      level data security for the casual user.  Use it sparingly, if at all.
  1579.  
  1580.      ARC no longer tests for the presence of $ARCTEMP.CRN before creating a
  1581.      new one.  If you interrupt ARC a lot, you'll find this much more
  1582.      convenient.  If you happen to have a file named $ARCTEMP.CRN which you
  1583.      want to keep, too bad.
  1584.  
  1585.      Improved error recovery was added when reading an archive.  ARC now
  1586.      has a good chance of recovering the data from a corrupted archive (the
  1587.      corrupted entry is still lost, of course).
  1588.  
  1589.      Path support has been added for all commands, though it doesn't do
  1590.      anything on most of them.  For example, there isn't much we can do
  1591.      with a path in the List command.  But many users will be glad to know
  1592.      that a path can be used when extracting a file, and specifies where
  1593.      the file is to be placed.
  1594.  
  1595.      Support for the TEMP environment string was added.  If ARC doesn't
  1596.      find an environment string named ARCTEMP, then it looks for one named
  1597.      TEMP to use instead.  Several packages already use the TEMP string for
  1598.      exactly this purpose.  With any luck, maybe we can get a standard
  1599.      going.
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.      ARC                                                           Page  25
  1614.      ARC is now using a different variation of Lempel-Zev coding, courtesy
  1615.      of Kent Williams, who found it on USENET and adapted it to the IBM PC.
  1616.      The new method differs from the old in several respects.  The most
  1617.      significant differences are:
  1618.  
  1619.      1) Where our previous implementation used a fixed code size of twelve
  1620.         bits, the new one starts with a code size of nine bits and
  1621.         increases it as it needs to.
  1622.  
  1623.      2) The earlier method tended to "choke" on large files when its string
  1624.         table filled up.  The new method has a rather ingenious scheme its
  1625.                      adaptive reset        authors call adaptive reset.  When it notices that its string table
  1626.         has filled, and its compression ratio is starting to suffer, it
  1627.         clears the table and starts defining new strings.
  1628.  
  1629.      Our benchmarks show an improvement in compression on the order of 10%
  1630.      when crunching is used.  Additionally, ARC 5.0 is on the order of 23%
  1631.      faster at adding a file when crunching is used, or 13% faster when
  1632.      squeezing is used.  Extracting a file crunched with the new method is
  1633.      27% faster than it is with the old method.  Extraction of any other
  1634.      type of file (including those crunched with the older method) is no
  1635.      faster than before.  These figures are based on our own benchmark
  1636.      tests; your results may vary.
  1637.  
  1638.      The previous implementation of Lempel-Zev coding is no longer used to
  1639.      pack files.  The "V" (Verbose listing) command distinguishes between
  1640.      the two by referring to the older method as "crunched" (with a lower-
  1641.      case "c"), and the newer method as "Crunched" (with a capital "C").
  1642.  
  1643.      ARC 5.0 can still read archives created by earlier versions of ARC,
  1644.      but once again it creates archives which older versions cannot read.
  1645.  
  1646.  
  1647.  
  1648.      ______________________     CHANGES IN VERSION 5.1
  1649.  
  1650.      Rick Moore discovered that ARC was occasionally adding an archive to
  1651.      itself.  This would only happen when the archive is in the same
  1652.      directory as the files being added, and its name comes last.  This bug
  1653.      has been fixed, though it is still possible to fool ARC into adding an
  1654.      archive to itself by getting tricky with path names.
  1655.  
  1656.      Dana Montgomery found the upper limit on how many files can be added
  1657.      to an archive.  There's always been an upper limit, but it depends on
  1658.      memory, and used to be larger than anyone could possibly want (knock
  1659.      on wood).  However, the added memory requirements in version 5.0
  1660.      lowered this limit into the realm of possibility.  It's somewhere
  1661.      around 500 files, though odd things may happen before then, depending
  1662.      on how the heap gets fragmented.  At any rate, ARC now tries to detect
  1663.      the error and print a meaningful error message.
  1664.  
  1665.      We've also introduced a new packaging method for ARC and its documen-
  1666.      tation, since we are in the unique position of being unable to use ARC
  1667.      for this purpose.  We've created a program called ARC51.COM which,
  1668.      when executed, attempts to create the ARC program and manual.  You
  1669.      must be in the same directory as ARC51.COM when you run it.
  1670.  
  1671.  
  1672.  
  1673.      ARC                                                           Page  26
  1674.  
  1675.                            PROGRAM HISTORY AND CREDITS                           PROGRAM HISTORY AND CREDITS
  1676.  
  1677.  
  1678.  
  1679.      In its short life thus far, ARC has astounded us with its popularity.
  1680.      We first wrote it in March of 1985 because we wanted an archive
  1681.      utility that used a distributive directory approach, since this has
  1682.      certain advantages over the more popular central directory approach.
  1683.      We added automatic squeezing in version 2 at the prompting of a
  1684.      friend.  In version 2.1 we added the code to test for the best
  1685.      compression method.  Now (in October of 1985) we find that our humble
  1686.      little program has spread across the country, and seems to have become
  1687.      a new institution.
  1688.  
  1689.      We are thankful for the support and appreciation we have received.  We
  1690.      hope that you find this program of use.
  1691.  
  1692.  
  1693.      If we have achieved greatness, it is because we have stood upon the
  1694.      shoulders of giants.  Nothing is created as a thing unto itself, and
  1695.      ARC is no exception.  Therefore, we would like to give credit to the
  1696.      following people, without whose efforts ARC could not exist:
  1697.  
  1698.  
  1699.      Brian W. Kernighan and P. J. Plauger, whose book "Software Tools"
  1700.      provided many of the ideas behind the distributive directory approach
  1701.      used by ARC.
  1702.  
  1703.      Dick Greenlaw, who wrote the public domain SQ and USQ programs, in
  1704.      which the Huffman squeezing algorithm was first developed.
  1705.  
  1706.      Robert J. Beilstein, who adapted SQ and USQ to Computer Innovations
  1707.      C86 (the language we use), thus providing us with important parts of
  1708.      our squeezing logic.
  1709.  
  1710.      Kent Williams, who graciously allowed us to use his LZWCOM and LZWUNC
  1711.      programs as a basis for our Lempel-Zev compression logic, and who
  1712.      continues to make valuable contributions.
  1713.  
  1714.      David Schwaderer, whose article in the April 1985 issue of PC Tech
  1715.      Journal provided us with the logic for calculating the CRC 16 bit
  1716.      polynomial.
  1717.  
  1718.      Terry A. Welch, whose article "A Technique for High Performance Data
  1719.      Compression", IEEE Computer Vol 17 No 6 (June 1984) seems to have
  1720.      started all the research on Lempel-Zev coding.
  1721.  
  1722.      Spencer W. Thomas, Jim McKie, Steve Davies, Ken Turkowski, James A.
  1723.      Woods, and Joe Orost, who are the authors of the UNIX compress
  1724.      utility.
  1725.  
  1726.  
  1727.      And many, many others whom we could not identify.
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.      ARC                                                           Page  27
  1734.  
  1735.                                   SITE LICENSE                                  SITE LICENSE
  1736.  
  1737.  
  1738.  
  1739.      Corporate users may wish to obtain a site license for the use of ARC.
  1740.      Please use the order form in this manual to order a site license.
  1741.      Site licenses are granted as of when we receive your payment.  License
  1742.      fees vary depending on the number of computers on which ARC will be
  1743.      used, as follows:
  1744.  
  1745.           1 to  9 copies  $35 each
  1746.          10 to 24 copies  $25 each
  1747.          25 to 49 copies  $20 each
  1748.          50 to 99 copies  $15 each
  1749.          over  99 copies  $1500 one time fee
  1750.  
  1751.  
  1752.  
  1753.      The following page is a site license agreement, which should be signed
  1754.      and sent with your payment when ordering a commercial site license.
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.      ARC                                                           Page  28
  1794.  
  1795.      The use of ARC in a commercial environment or government organization
  1796.      is granted under the following terms:
  1797.  
  1798.      1.  Payment of the license fee must be made to System Enhancement
  1799.          Associates.  The fee is based on the number of computers which
  1800.          will be used to run ARC, as follows:
  1801.  
  1802.                1 to  9 copies  $35 each
  1803.               10 to 24 copies  $25 each
  1804.               25 to 49 copies  $20 each
  1805.               50 to 99 copies  $15 each
  1806.               over  99 copies  $1500 one time fee
  1807.  
  1808.      2.  You may use ARC on the number of computers included in the license
  1809.          fee.  If you have paid the fee for over 99 copies, then you may
  1810.          use ARC on any number of computers within your organization.
  1811.  
  1812.      3.  You may make copies of the program, in its original,  unmodified
  1813.          form,  without restriction.  You may distribute these copies of
  1814.          the program without restriction.
  1815.  
  1816.      4.  If these copies are distributed outside of your organization,  you
  1817.          have no obligation to control the use of those copies which are
  1818.          outside of your organization.
  1819.  
  1820.      5.  You may make copies of the program documentation, in both its
  1821.          printed form and machine readable form, without restriction.
  1822.  
  1823.      6.  You may use future versions of ARC under this license.  The latest
  1824.          version is available from System Enhancement Associates for a
  1825.          small service charge.
  1826.  
  1827.      7.  You may NOT modify the program or charge a fee for copying or
  1828.          distributing the program.
  1829.  
  1830.      8.  It is your responsibility to make the necessary copies and to
  1831.          deliver them to the computers which they will be used on.
  1832.  
  1833.  
  1834.  
  1835.          I agree to abide by the terms and conditions of this license.
  1836.  
  1837.  
  1838.          _____________________________         __________________________
  1839.          Signature                             Date
  1840.  
  1841.          _____________________________
  1842.          Name (please print or type)
  1843.  
  1844.          _____________________________
  1845.          Title
  1846.  
  1847.          _____________________________
  1848.          Company
  1849.  
  1850.  
  1851.  
  1852.  
  1853.      ARC                                                           Page  29
  1854.  
  1855.                                    ORDER FORM                                   ORDER FORM
  1856.  
  1857.  
  1858.  
  1859.      Check which items you wish to purchase:
  1860.  
  1861.          (_) Noncommercial license for the use of ARC.
  1862.  
  1863.          (_) Commercial license for the use of ARC on ___ computers (see
  1864.              price schedule and terms on preceding page).
  1865.  
  1866.          (_) Program disk and documentation (only on orders of $50 or
  1867.              more).
  1868.  
  1869.          (_) Program update subscription service (not more than five
  1870.              updates, does not include trivial changes), $50/year.
  1871.  
  1872.          (_) Payment of $_____ is enclosed (check or money order).
  1873.  
  1874.          (_) Please charge $_____ to my (_) Visa or (_) MasterCard:
  1875.  
  1876.              Card number: ______________________________
  1877.  
  1878.              Expiration date: __________________________
  1879.  
  1880.          _______________________________________________
  1881.          Name
  1882.  
  1883.          _______________________________________________
  1884.  
  1885.  
  1886.          _______________________________________________
  1887.          Address
  1888.  
  1889.          ______________________   ________  ____________
  1890.          City                     State     Zip
  1891.  
  1892.          _______/_______
  1893.          FidoNet address
  1894.  
  1895.  
  1896.      Send this completed form to:
  1897.  
  1898.                           System Enhancement Associates
  1899.                                   21 New Street
  1900.                                 Wayne, NJ   07470
  1901.  
  1902.      For program disk orders outside the U.S., please add an additional $5,
  1903.      and enclose an international money order payable in U.S. currency.
  1904.  
  1905.      For commercial site license orders, please enclose a signed copy of
  1906.      the site license agreement.
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.      ARC                                                           Page  30
  1914.